const name = "foo"
const age = 18
function sayHello () {
  console.log("sayHello")
}

// 将内容从模块中导出
module.exports = {
  name,
  age,
  sayHello
}

exports.name = "hahaha" //不会生效，内存指向已经指向了新的地址